Add test for Copilot. Reference file from Tomblin.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 9 Apr 2003 14:10:59 +0000 (14:10 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 9 Apr 2003 14:10:59 +0000 (14:10 +0000)
gpsbabel/reference/UKultralight.pdb [new file with mode: 0644]
gpsbabel/testo

diff --git a/gpsbabel/reference/UKultralight.pdb b/gpsbabel/reference/UKultralight.pdb
new file mode 100644 (file)
index 0000000..9112b55
Binary files /dev/null and b/gpsbabel/reference/UKultralight.pdb differ
index ccd57c9ecc2afc29d18f54097a2c14335d4a4e05..2ff9ba6433b004c46454c0352e730aaf863f8778 100755 (executable)
@@ -273,3 +273,12 @@ rm -f ${TMPDIR}/mapsend.trk
 ${PNAME} -t -i mapsend -f reference/track/mapsend.trk -o mapsend \
          -F ${TMPDIR}/mapsend.trk
 compare ${TMPDIR}/mapsend.trk reference/track/
+
+#
+# copilot
+#
+rm -f ${TMPDIR}/copilot.pdb
+${PNAME} -i copilot -f reference/UKultralight.pdb -o copilot -F ${TMPDIR}/cop.pdb
+${PNAME} -i copilot -f reference/UKultralight.pdb -o gpx -F ${TMPDIR}/cop1.gpx
+${PNAME} -i copilot -f ${TMPDIR}/cop.pdb -o gpx -F ${TMPDIR}/cop2.gpx
+compare ${TMPDIR}/cop1.gpx ${TMPDIR}/cop2.gpx